package com.atguigu.common.exception;

public enum BizCodeEnum {
    VALID_PARAM_EXCEPTION(10000, "参数校验失败"),
    UNKNOWN_EXCEPTION(10001, "系统未知异常");
    private int value;
    private String msg;

    BizCodeEnum(int value, String msg) {
        this.value = value;
        this.msg = msg;
    }

    public int getValue() {
        return value;
    }

    public String getMsg() {
        return msg;
    }
}
